function dataX_normalize = normalize_quar(dataX)
% Normalize data X based on quantile

parameters = dataX(:,4:end);
[value idx] = sort(parameters,2);

all_q_X = [];
for i = 1 : size(parameters,1)
    q_X(idx(i,:)) = (1:size(parameters,2))/size(parameters,2);
    all_q_X = [all_q_X ; q_X];
end
dataX_normalize = [dataX(:,1:3),all_q_X];

end